Fixes:
fast-float.c:81:35: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
and
fast-float.c:91:34: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
else
return lookup->function (number, lookup->data);
- if (!(lookup->bitmask[i/32] & (1<<(i & 31))))
+ if (!(lookup->bitmask[i/32] & (1UL<<(i & 31))))
{
/* XXX: should look up the value in the middle of the range
* that yields a given value,
* lookup table..
*/
lookup->table[i]= lookup->function (number, lookup->data);
- lookup->bitmask[i/32] |= (1<<(i & 31));
+ lookup->bitmask[i/32] |= (1UL<<(i & 31));
}
return lookup->table[i];